package com.example.data.mapper;

import com.example.data.model.FileSource;
import com.example.page.Pageable;

import java.util.List;

/**
 * Created by hldev on 17-2-15.
 */
public interface FileSourceMapper {

    FileSource findById(Long id);

    List<FileSource> findAll();

    List<FileSource> findPage(Pageable pageable);

    void create(FileSource fileSource);

    void update(FileSource fileSource);

    void delete(Integer id);
}
